package com.ax.center.urils;

import java.util.Random;

/**
 * @author zy
 * @date 2023/7/4 14:48
 */
public class NumberUtils {

    public static String generateRandomNumbers(int length) {
        Random random = new Random();
        StringBuilder sb = new StringBuilder(length);
        for (int i = 0; i < length; i++) {
            sb.append(random.nextInt(10));
        }
        return sb.toString();
    }
}
